package com.xms.dependency;

import com.xms.core.exception.XmsException;
import com.xms.dependency.model.DependentDescriptor;

import java.util.List;

/**
 * <p>
 * XmsDependencyException
 * </p>
 *
 * @author migo
 * @since 2021/10/24
 */
public class XmsDependencyException extends XmsException {
    public final static int STATUS_CODE = 501;

    public XmsDependencyException(String message) {
        super(message);
    }

    public List<DependentDescriptor> dependents;

    public XmsDependencyException(String message, List<DependentDescriptor> dependents) {
        super(message);
        this.dependents = dependents;
    }
}
